package com.minube.flights.data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class FlightBoard implements Serializable {

	private static final long serialVersionUID = 1L;

	private List<FlightEntry> board;

	public FlightBoard() {
		board = new ArrayList<FlightEntry>();
	}

	public void addFlightEntry(FlightEntry entry) {
		if (entry != null)
			board.add(entry);
	}

	public List<FlightEntry> getBoard() {
		return board;
	}

	public void setBoard(List<FlightEntry> board) {
		if (board != null)
			this.board = board;
	}
}
